package com.sugon.entity.dto;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.List;

/**
 * 设备维修派工参数
 *
 * @Author YuXD
 * @Version 1.0
 * @since 2022/3/14
 */
@Data
public class DeviceRepairDispatchParam implements Serializable {

    @NotBlank(message = "设备维修工单ID不能为空")
    private String id;

    @NotBlank(message = "主修人员ID不能为空")
    private String repairUser;

    @NotEmpty(message = "辅修人员ID列表不能为空")
    private List<String> auxiliary;

    private String repairCode;

    private String userId;

    private String deptId;

}
